package ysu.sxm.ptjc.Service.Impl;

import org.springframework.stereotype.Service;
import ysu.sxm.ptjc.Service.UpdateProduceNumService;

import java.util.UUID;

//更新Produce_Service
@Service
public class UpdateProduceNumServiceImpl implements UpdateProduceNumService {
    @Override
    public String updateProduceNum() {
        UUID id=UUID.randomUUID();
        String[] idd=id.toString().split("-");
        return idd[0]+idd[1]+idd[2];
    }

}
